package com.xuecheng.api.auth;

import com.xuecheng.framework.domain.ucenter.request.LoginRequest;
import com.xuecheng.framework.domain.ucenter.response.JwtResult;
import com.xuecheng.framework.domain.ucenter.response.LoginResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(description = "认证接口")
public interface AuthControllerApi {
    @ApiOperation("用户登录操作")
    LoginResult login(LoginRequest loginRequest);

    @ApiOperation("用户退出操作")
    ResponseResult logout();

    @ApiOperation("用户获取cookie操作")
    JwtResult getJwt();
}
